Expand description
Built-in executors and related tools.
Structs§
- An iterator which blocks on values from a stream until they become available.
- Represents an executor context.
- An error returned by
enter
if an execution scope has already been entered. - The type of future returned from the
ThreadPool::spawn
function, which proxies the futures running on the thread pool. - A single-threaded task pool.
- A future representing the completion of task spawning.
- A future representing the completion of task spawning, yielding a
JoinHandle
to the spawned task. - A general-purpose thread pool for scheduling asynchronous tasks.
- Thread pool configuration object.
Functions§
- Run a future to completion on the current thread.
- Turn a stream into a blocking iterator.
- Marks the current thread as being within the dynamic extent of an executor.
- Spawn a task onto the default executor.
- Spawn a task onto the default executor, yielding a
JoinHandle
to the spawned task.